<script type="text/javascript" src="/third-party/jquery.min.js"></script>

<input type="hidden" name="operator.id" value="${operator.id }">
<table class="insert-tab" width="100%">
  <tbody>
  <tr>
    <th><i class="require-red">*</i>柜员名称：</th>
    <td><input class="common-text required" name="name" id="name" size="50" type="text" value="${operator.name }" disabled></td>
  </tr>
  <tr>
    <th><i class="require-red">*</i>可办理业务类型：</th>
    <td>
      <%for(business in businessList) {%>
        <%if(@operatorBusinessList.contains(business.id)) {%>
          <input type="checkbox" name="businessId" value="${business.id }" checked>&nbsp;&nbsp;${business.name }<br/>
        <%} else {%>
          <input type="checkbox" name="businessId" value="${business.id }">&nbsp;&nbsp;${business.name }<br/>
        <%}%>
      <%}%>
    </td>
  </tr>
  <tr>
    <th></th>
    <td>
      <input type="button" class="btn btn-primary btn6 mr10" value="提交" onclick="submitForm();">
      <input class="btn btn6" onclick="history.go(-1)" value="返回" type="button">
    </td>
  </tr>
  </tbody>
</table>

<script type="text/javascript">
function submitForm() {
  document.forms[0].submit();
}
</script>